package com.newasia.server.service;

import com.newasia.server.dal.entitys.HisAlert;

import java.util.Date;
import java.util.List;

/**
 * @author LiChong
 * @description 告警历史服务
 * @date 2020/5/19
 */

public interface IHisAlertService {

    HisAlert selectHisAlert(String sid);

    HisAlert selectHisAlertSequence(String sid);

    List<HisAlert> selectHisAlert(String sid,Integer number);

    HisAlert selectHisAlert(String sid,String fieldName);

    HisAlert selectHisAlertFieldNotEmpty(String sid);

    HisAlert selectHisAlert(String sid,Date startTime,Date endTime);

    List<HisAlert> selectHisAlert(String sid,Integer number,String fieldName);

    List<HisAlert> selectHisAlertFieldNotEmpty(String sid,Integer number);

    List<HisAlert> selectHisAlert(String sid,Integer number,Date startTime,Date endTime);

    List<HisAlert> selectHisAlertSequence(String sid,Integer number);

    HisAlert selectHisAlertSequence(String sid,String fieldName);

    HisAlert selectHisAlertFieldNotEmpty(String sid,Date startTime,Date endTime);

    List<HisAlert> selectHisAlert(String sid,Integer number,String fieldName,Date startTime,Date endTime);

    List<HisAlert> selectHisAlertSequence(String sid,Integer number,String fieldName);

    List<HisAlert> selectHisAlertFieldNotEmpty(String sid,Integer number,Date startTime,Date endTime);

    List<HisAlert> selectHisAlertFieldNotEmptySequence(String sid,Integer number);

    List<HisAlert> selectHisAlertSequence(String sid,Integer number,Date startTime,Date endTime);

    List<HisAlert> selectHisAlertFieldNotEmptySequence(String sid,Integer number,Date startTime,Date endTime);

    List<HisAlert> selectHisAlertSequence(String sid,Integer number,String fieldName,Date startTime,Date endTime);

}
